package org.jeecg.modules.power.shop.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 门店品类
 * @Author: jeecg-boot
 * @Date:   2024-07-11
 * @Version: V1.0
 */
@Data
@TableName("yl_shop_category")
@ApiModel(value="yl_shop_category对象", description="门店品类")
public class YlShopCategory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**品类名称*/
	@Excel(name = "品类名称", width = 15)
    @ApiModelProperty(value = "品类名称")
    private String categoryName;
	/**上级品类ID*/
	@Excel(name = "上级品类ID", width = 15)
    @ApiModelProperty(value = "上级品类ID")
    private String parentId;
	/**是否有子节点 1、代表有子节点 其他没有*/
	@Excel(name = "是否有子节点 1、代表有子节点 其他没有", width = 15)
    @ApiModelProperty(value = "是否有子节点 1、代表有子节点 其他没有")
    private String hasChild;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
    @ApiModelProperty(value = "父级节点")
    private String pid;
}
